home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 April / EnigmA AMIGA RUN 17 (1997)(G.R. Edizioni)(IT)[!][issue 1997-04][EAR-CD].iso / EARCD / comm / bbs / Hydra11.lha / HBBS / TODO.TXT < prev    next >
Text File  |  1996-11-06  |  18KB  |  501 lines

  1. ToDo
  2. ====
  3.  
  4. Docs
  5. ====
  6.  
  7.   Express that BBSGlobal->TotalUsers may not actually reflect the amount of users
  8.   in the userdata file (as deleted users can be overwritten)
  9.  
  10.   Do not compact the userdata file when ythe bbs is running!
  11.  
  12. AccountEdit
  13. ===========
  14.  
  15.   check that user is not on-line already when in non SYSOPONLY mode (i.e. editing from
  16.   another node while the user is online is not allowed, to do this I need to send a
  17.   message to the node that the user is on to get it to halt while the pother use edits
  18.   the account, the data then needs to be copied to the user on-line data on the other
  19.   node.
  20.  
  21.   Make it display *'s next to account settings that are incorrect (e.g.
  22.   invalid access level, no conf access settings file specified etc..)
  23.  
  24.   make it so that you cannot edit your own account when you are online (it'll go wrong
  25.   at the moment) or better still, make it so that you can :-)
  26.  
  27.   account presets (use the AccountEdit door to load/save/define them)
  28.  
  29. JoinConference
  30. ==============
  31.  
  32.   changing to a conference tha a user can see but does not have access to results
  33.   in the error "Invalid Conference Number", it should be "Access Denied".
  34.   Also if you use start join conference with no params and use a conference number
  35.   that you can see but don't have access to, you don't get any message.
  36.  
  37.   update join conference so that it takes not of the new N_ND->User.ConfAcs settings!
  38.  
  39. ReadMail
  40. ========
  41.  
  42.   make R (mail) start from the LAST message instead of the first (for /x people...:-)
  43.  
  44.   message reading (screen displaying), remove Continue [y/n] from screen..
  45.  
  46.   allow option for sysop to read other users private mailboxes...
  47.  
  48. HBBSCommon
  49. ==========
  50.  
  51.   record all calls to DoErrorMessage...
  52.  
  53.   finish HBBS_LoadUser()
  54.  
  55.   fix HBBS_ValidUserHandle() ref: TotalUsers
  56.  
  57. FileLister
  58. ==========
  59.  
  60.   add option to lister(s) (FR, N) showing the last x files uploaded (e.g.  FR L 20 to show
  61.   the last 20 files uploaded in the current conf)
  62.  
  63. MailWrite
  64. =========
  65.  
  66.   filenote() the mail message .txt's!
  67.  
  68.   backup mail messages (when written) to an archive, name of msg would be
  69.   <Type>-<Conf>-<FromID>-<ToID/NAME>
  70.   so, when you write a mail it'll just add the file to an .LHA archive thus giving
  71.   you a space saving way of backing up your message base..
  72.  
  73. HBBSNode
  74. ========
  75.   add a GL_#? flag that tells the system to print out the contents of a string
  76.   every x microseconds while it is waiting for input.  This is a wicked idea.
  77.   Using this you can have cool ansi animations going on while you're waiting
  78.   at a prompt for example...
  79.  
  80.     implement: GL_ANSIANIM
  81.     node:      struct List *N_ND->AnsiAnimList;
  82.  
  83. Shell
  84. =====
  85.  
  86.   fix lockup bug and make cooler
  87.  
  88. Download
  89. ========
  90.  
  91.   still needs a sysop download
  92.  
  93. Node_Misc.c
  94. ===========
  95.  
  96.   fix problem (not bug) with @^@ codes and special formatting..  I'm using sprintf()
  97.   to do the formatting at the moment, so you just use std 'C' % formatting options
  98.   like %-15s (-> @^-15s^ComputerType@ in a screen ), but if the item you are printing
  99.   is more that than the amount of chars you specify it will not chop the rest off...
  100.   the downside to this is that if you designs screens (like raider has done for me)
  101.   they kind of mess up when you use long strings etc...
  102.  
  103.   **** nope, just use something like... @^-15.15s^ComputerType@ and it's fine
  104.  
  105.   Add Ctrl-C checking to DisplayScreen() and DisplaySpecialScreen()
  106.  
  107.   DisplayScreen() needs more N_ND->OnlineStatus checking after pause prompts
  108.  
  109. Other Stuff
  110. ===========
  111.  
  112.   create an Error Watcher program, which sets up a port called "HBBS_Error_X" (where x is
  113.   a number, so you can have more than one port..), then change hbbs_LogError()
  114.   so it checks for those ports and sends them the details of the error in a message.
  115.   Then a sysop can have a window pop up on his screen with the error... (great for
  116.   finding problems with a setup..)  you could also have a program like SendOLM in
  117.   HBBS:Utils that checks to see if a co-sysop or sysop is on-line and sends them the message
  118.   too!  Cool....
  119.  
  120.   Multinode chat door
  121.  
  122. Frontend
  123. ========
  124.  
  125.   make it check to see if the user is logged onto another node, if they are, deny access
  126.  
  127.   move some strings from N_ND->NodeSettings to the appropriate door's config file
  128.   (e.g. usernameprompt should really be in FrontEnd.CFG...)
  129.  
  130.   Fix bug with OLM's and FrontEnd (when you're typing in a node password)
  131.  
  132.   Implement Calls Allowed checking
  133.  
  134.  
  135. Structures.h
  136. ============
  137.  
  138.   Implement Extra#? settings that are defined in structures.h
  139.  
  140. Control
  141. =======
  142.  
  143.   New user Timelimit needs to be added somewhere (probably same place as NewUserConf...)
  144.   or could be withing the NewUser door...
  145.  
  146. AddCreds
  147. ========
  148.  
  149.   check that AddCreds door can accept a conference number as a parameter to allow
  150.   for easy implementation of conference accounting..
  151.  
  152. TagFile
  153. =======
  154.  
  155.   make the TagFile door call a door called "OKToTag" with the conference num and filename as
  156.   parameters (for easy implementation of conference accounting and file restriction doors)
  157.   (like passworded files..)
  158.  
  159.   Add File Password support (i.e. change tag door so search for a config file
  160.   that has a list of filenames, and passwords. (maybe a confnum too, depends wether you'll ever
  161.   have files of the same name in a difference conference..)
  162.  
  163.   Hmm, example config file (HBBS:Doors/System/TagFile/PasswordedFiles.CFG)
  164.  
  165.     Name_1=HydraBBSA10.LHA
  166.     Type_1=CONF ; could be CONF, or SYSTEM (i.e. filename can be full path if using SYSTEM)
  167.     Conf_1=5 ; HBBS Conf if CONF is used
  168.     Level_1=250 ; if you are below this access level you will be asked for the Password
  169.     Password_1=BETA ; where BETA is the actual password..
  170.  
  171.   oh, and we also need another config file with a list of files that cannot
  172.   be downloaded except by the sysop.. ie. HBBS:Doors/System/TagFile/RestrictedFiles.CFG
  173.  
  174.     File_1=HBBS:System/Data/User.Data
  175.     File_2=HBBS:Doors/System/TagFile/TagFile
  176.  
  177. NodeInput.C
  178. ===========
  179.  
  180.   Fix ctrl-x/up/down with GL_NODISTURB (door writers should not use GL_HISTORY until
  181.   this is fixed if possible..)
  182.  
  183.   have a cool DOOR_WriteTextSpecial() function that given the corrent flags, timeouts
  184.   and string will display text on the screen as if it was coming from a 300baud modem
  185.   as per the "wargame" film.
  186.  
  187. AutoComment
  188. ===========
  189.  
  190.   Write a GUI for AutoComment and finish it!
  191.  
  192. make it so that the node watch windows can be opened on a different public screen
  193. to that of the Control Program
  194.  
  195. add routine to show all availiable public screens and use instead of a string gadget
  196. when selecting screen to appear on.
  197. (unless reqtools has this option...)
  198.  
  199. add a routine to copy a list into HBBSCommon.c
  200.  
  201. implement ConfAcs files, add checkuser to get it to check for a users confacs file
  202. beging present, if not write a msg to a log file
  203. (refs: Access/Levels/Level_List, System/Data/ConfAcs/#?)
  204.  
  205. network mail! yeah!
  206.  
  207. option for sysop to set N_ND->DoorLogOverride=TRUE (button on GUI)
  208.  
  209. option on CommandPrompt door to log all commands user types (like DoorLog in /X)
  210.   (DoorLog in HBBS is a bit different...)
  211.  
  212. startup log
  213.  
  214. spell checker on messages!
  215.  
  216. add a file_id.1 into files with a one-line description..
  217.  
  218. util to convert aminet cd dirs to hbbs filelistings..
  219.  
  220. and a 1 id to the filelist format same as F but with only a one-line description..
  221.  
  222. create docs with a list of /X config settings in and show the user
  223. what the same things are in HBBS
  224.  
  225. change watch window font depending on conference..
  226.  
  227. you can currently write a USER mail to ALL !
  228.  
  229. have it so that you can enable different logs for different users.  for instance,
  230. say you have a user who's a bit dogdey you might want to enbale the doorlog for
  231. him, but not for everyone else...  Coooooooooooool!
  232.  
  233.  
  234. doubleclicking on a user name in a listview window should bring up an
  235. account editor with the users details in! :-)
  236.  
  237. make the G door accept NOPROMPT as an option.
  238.  
  239.  
  240. create a ST door so that sysop's can flag files for other users..
  241. --> you can do this anyway by editing the files in HBBS:System/Data/Taggedfiles/#?
  242.  
  243. add QUIET parameter to Tag_File
  244.  
  245. add a GL_KEEPPROMTIFBLANK which will return the prompt string (if specified) in
  246. N_ND->CurrentLine if the user delete's the prompt string and leaves a blank line!
  247.  
  248. make node, settings, and configure windows pop to front if already open.
  249.  
  250. add an [U]pload to the editor program..!
  251.  
  252. also, in the editor, check to see if the login type is a local login, if so, ask the
  253. sysop wether to use an actual GUI Text editor (like TTX) to edit the message...
  254.  
  255. set a button on the control to open up a node's "Settings" window!
  256.  
  257. change the door commands and how doors are run..
  258.  
  259.   Ideas
  260.  
  261.   call <Name>_Door_<n>  <name>_Data_<n> so it avoid confusion
  262.   when using something like SCREEN or ECHO for a door type.
  263.  
  264.   also you need to be able to specify the paramters that were typed at the bbs
  265.   prompt as options for doors, be you must also be able to add your own options
  266.   to them as well,  example:
  267.  
  268.   FR_Type_1=NORMAL
  269.   FR_Data_1=HBBS:Doors/User/FileReverse/FR.HBBS {nodenum} {bbsoptions} CONF
  270.  
  271.   FRS_Type_1=NORMAL
  272.   FRS_Data_1=HBBS:Doors/User/FileReverse/FR.HBBS {nodenum} {bbsoptions} HOLD
  273.  
  274.   where {nodenum} is replaced by the node number, {bbsoptions} are replaced by the
  275.   options that were typed at the bbs prompt..  so, if a user on node 3 types
  276.  
  277.   FR N -2
  278.  
  279.   the actual command executed would be
  280.  
  281.   HBBS:Doors/User/FileReverse/FR.HBBS 3 N -2 CONF
  282.  
  283.   much better than just appending the params to a program.  also like this
  284.   you can place the parameters in any order you like.. thus being able to cope with
  285.   far more programs and it also makes the program more flexible.  it also
  286.   reduces the amount of seperate doors you might need..
  287.  
  288.   also I need a DOOR_Continue(TRUE/FALSE) and associated
  289.   N_ND->DoorContinue.
  290.  
  291.   if a door sets door continue to false the next door will not be run
  292.   if the configuration for a door has more than one door associated
  293.   with the command.
  294.  
  295.   e.g.
  296.  
  297.   the download door a) calls the HBBS:Doors/<blah>/Download.HBBS, then
  298.   it would b) call the door HBBS:Doors/<blah>/QuickStats.HBBS.
  299.  
  300.   obviosly, the download door might be cancelled before we actually
  301.   transfer some files, so it would set DoorContinue to FALSE then
  302.   the quickstats door would not be run..
  303.  
  304. change GetLine()
  305.  
  306.   Ideas..
  307.  
  308.   instead of going TRUE,TRUE,0,blahh..  use FLAGS
  309.  
  310.   so we need these flags
  311.  
  312.   EDIT      // left/right cursor keys and backspace + delete
  313.   HISTORY   // allow cursor up/down to gothrough the history
  314.   DISPLAY   // display text on screen at all ?
  315.   LINEWRAP  // if reached maxlen and last key pressed was a non space
  316.             // char then copy all data back to the previous space char
  317.             // to N_ND->CurrentLineWRAP and return IN_GOTLINE
  318.   NORETURN  // does not print a "\r\n" when the user presses return
  319.   IMMEDIATE // returns when the user has typed in MaxLen chars
  320.             // don'tuse with linewrap :-)
  321.             // use immediate and noreturn for hoykey support.  -> COOL
  322.  
  323.   also we need to be able to prompt the user with a default string for an option.
  324.  
  325.   timeout is in micros
  326.  
  327.   An example prototype might be
  328.  
  329.   GetLine(Flags,PasswordChar,MaxLen,TimeOut,PromptStr);
  330.  
  331.  
  332.   the above example takes less params then the current version *AND* offers more
  333.   scope
  334.   -------------
  335.  
  336. existence of tagged files must be verifyied when the saved tags are loaded in
  337. again (when a user logs on, see node_input.c)
  338.  
  339. change str_CtrlScrnName from a set length variable to a string pointer, and allow
  340. changing between a public screen name and "CtrlScrn", that way you can hbbs on a WB
  341. screen.
  342.  
  343. Use this function more!!!
  344. -> HBBS_LogError(BBSGlobal->ErrorLogFile,ERR_GENERAL,outstr,TYPE_WARNING);
  345.  
  346. add options for /X help for sysop's and users to help them change between systems
  347. (i.e. when a sysop presses F10 wanting to log a user off tell him to press
  348. SHIFT+F10 instead of just F10..etc... do the same sort of things for door commands..)
  349.  
  350. when a node starts it must check the playpen and work for file and move/delete them
  351. accordingly. (check id of last user that called from log files..)
  352.  
  353. Add NamesNotAllowed files to Node_XX directories, don't make it a config file,
  354. just have a list of names so it's easier to add/remove names rather than having to
  355. change name_xx = name_xx when you remove a name from the middle of the list.
  356.  
  357. Add tones and tonnes of error messages that are logged in the logfile..
  358.  
  359. Add DOOR_HuntScreen() to door library to search for screens in the node
  360. directory and then the screens directory, with option for adding a specified access
  361. level.  e.g. DOOR_HuntScreen("Files",20); where it would search for Files_20.TXT...
  362.  
  363. make HBBS_SaveUser() or whatever to search for users with a status of
  364. user_overwritable
  365.  
  366. change ALL strncpy()'s to strNcpy()!!!  IMPORTANT!! (strncpy() does not *always* null terminate strings..)
  367.  
  368. add option "SkipOK" to Device config so that if you have a weird modem you
  369. can tell the bbs not to wait for the OK string after commands..
  370.  
  371. when control is opened on a 16 colour screen set the first 8 colours
  372. to the standard ANSI colours and set the next 4 colours to the usual WB colours.
  373. then set the dripens for drawing windows/gadgets etc to point to the usual colours
  374. --> nearly done, sets palette and dri-pens, but just can't get the background
  375.     of the screen and windows to be anthing other then colour 0... Hrmmm..
  376.  
  377.  
  378. get the Node program to run a door just after frontend called "Speed_XX.HBBS", where
  379. xx is replaced by the baud rate of the caller..
  380.  
  381. add timeout on doors,  best place would be where NODE looks at messages coming
  382. from the door program,  you could set a timer when the door has started (when you get
  383. a doorstart IO message) and see if it times out, if it does then cancel running that
  384. door.  Also you'd have to reset the timer everytime the node received a message
  385. from the door,  BUT, file transfers will be sending all their data via messages
  386. so you could only reset the timer on bog standard messages,  perhaps set up a new
  387. type of message for use only by transfer protocols that would be skipped...
  388.  
  389. have a button in the node's settings window to manually stop a door.  This is cool
  390. if a door has crashed and you want the system to continue..  also the timeout on the
  391. door function would need to call the same cleanup function.  was thinking of being
  392. able to pass the a pointer to the door you want to cancel as a parameter, to
  393. HBBS_CleanupDoor()
  394.  
  395. have option for sysop, so that they can choose to strip all ansi colour changes
  396. from the watch window, thus speeding up the user's display. (this would also be better
  397. if the sysop was using watch windows on a 2,4 or 8 colour screen.)
  398.  
  399. add time, bytes etc to the HBBS_ModifyString() function in HBBSNode.C.
  400. --> done, still need to add bytes to ModifyString() tho.
  401.  
  402. add in developer docs and specify the point that you can't have config item options
  403.   as follows
  404.  
  405.   Item_XX
  406.   Item_XX_Blah
  407.  
  408.   as HBBS_RemoveCfgItem("Item_#?") would remove ALL the items above..
  409.  
  410.   oh, and don't use ?'s or #?'s in item names :-)
  411.  
  412. state importance of taking a copy of N_ND->CurrentLine before passing it to another
  413. door as a parameter, in developer docs...
  414.  
  415. have userhandle, and status (u/l'd d/l'd pw failed, scanned, paged etc) all on the
  416. window title of a watch screen or window..
  417. --> handle, group and speed are displayed..
  418.  
  419.  
  420. ToDone :-)
  421. ======
  422.  
  423. fix bug with a closed console screen sometimes crashing the system, to check do this:
  424. load up node3, close the screen, load up term. use nullmodem.device, unit 7.  and
  425. try and log in.  it crashed when you press return after typing in a correct handle..
  426. --> done, it was Node_Console.c's SetWatchTitles() on a closed window...
  427.  
  428. add @^PAUSE_TIMEOUT^@ with options timeout length
  429. --> done, it's @^TPAUSE^<seconds>@
  430.  
  431. make it so that if you pass 0 as a buffersize to HBBS_CopyFile() then it'll use
  432. a default value. (sysop specifyable...!! cool idea!)
  433. --> done, see BBSGlobal->CopyBufferSize
  434.  
  435. abort prompt when cancelling message
  436. --> done
  437.  
  438. implement bbsglobal->CallsEver
  439. --> done
  440.  
  441. fix who door, long names/handles cause it to fuck itself..
  442. --> done
  443.  
  444. if settings window is open, bring it to front
  445. --> done
  446.  
  447. write the following to the CallersLog file when a user logs off
  448. uploads, downloads, ulbytes, dlbytes, nukes, pages, msgs read, msgs written
  449. then it'll be dead easy to provide statistics for bulletins etc!
  450. --> done
  451.  
  452. fix small bug in @^SYSDOOR@ANNOUNCE OFF@, the command the gets run has two spaces
  453. between the node number and the OFF parameter instead of one.
  454. e.g. 19-JUN-1996 18:56:16 Handle: hydra, Conf: Amiga Warez, Door: HBBS:Doors/System/Announce/Announce.HBBS 3  OFF
  455. --> done
  456.  
  457. option to have a list of users that dooroverride is set to on for
  458. (i.e.  a list of suspect users that have been trying to play around with your bbs!)
  459. -->done, created SetSuspect system door
  460.  
  461. option for getline, GL_NODISTURB.  needs to make it so that if you specify a maxlen
  462. then it means it musn't move things on the same line after the input position
  463. (e.g.  see why on the sent door)
  464.  need to be able to have  "Enter Name: [            ]", at the moment the ] gets moved
  465. --> done
  466.  
  467. RAW input for doors (i.e. show a text fiel and let users press keys to pause it etc..)
  468. --> done, see DOOR_CheckRaw(Flags);
  469.  
  470. make node wait for SIGBREACK_CTRLC or sommat in the getline loop..
  471. --> nope, use CheckRaw() for checking for Ctrl-C pressed
  472.  
  473. create caller logs (ie, when a user logs on and at what speed and all that shite..
  474. --> done
  475.  
  476. create a history file for the wall with the users handle on it..
  477. --> done
  478.  
  479. ban ;'s from user handles and names (and anything else that might go into a config
  480. file :-)
  481. --> see HBBS+_HandleNameOK()
  482.  
  483. when downloading, display what was selected (start, goodbye, abort...)
  484. --> done
  485.  
  486. make the sentby used
  487. --> done, see AddDIZToList
  488.  
  489. error checking on ConfAcs loading... (problems if file does not exist)
  490. --> done, acount edit and checkuser have been updated
  491.  
  492. sentby ask door (see userdata structure)
  493. --> done, see AskSentBy
  494.  
  495. sentby attach to uploads
  496. --> Done, see AddDIZToList
  497.  
  498. implement LanguageName_XX and LanguageExtn_XX for screens...
  499. --> done
  500.  
  501.